package com.uzai.console.vo.locallive.activity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 美团活动查询参数
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("本地生活活动列表详情对象")
@Data
public class LocalLiveActivitySetVo {
    @ApiModelProperty("跟随官方活动（0-否; 1-是）")
    private Integer useOfficialFlag;

    @ApiModelProperty("美团活动设置列表")
    private List<LocalLiveActivityVo> meituanActivityVoList;

    public Integer getUseOfficialFlag() {
        if(useOfficialFlag == null){
            useOfficialFlag = 1;
        }
        return useOfficialFlag;
    }

    public void setUseOfficialFlag(Integer useOfficialFlag) {
        this.useOfficialFlag = useOfficialFlag;
    }

    public List<LocalLiveActivityVo> getMeituanActivityVoList() {
        return meituanActivityVoList;
    }

    public void setMeituanActivityVoList(List<LocalLiveActivityVo> meituanActivityVoList) {
        this.meituanActivityVoList = meituanActivityVoList;
    }
}
